import {post,get,getId} from "./index";

// 新闻列表
export const findAll = (data) => {
  return get('/news/findAll', data)
}
export const deleteId = (data) => {
  return getId('/news/delete', data)
}
export const insert = (data) => {
  return post('/news/insert', data)
}
export const update = (data) => {
  return post('/news/update', data)
}
